/**
 * Created by Adam on 2017/5/16.
 */
import React from 'react'
import AddUser from '../containers/AddUser'
import VisibleUserList from '../containers/VisibleUserList'
import Footer from '../components/Footer'
// import LoadingComponent from '../components/LoadingComponent'
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';

const App = ({ params }) => (
    <MuiThemeProvider>
    <div>
        <AddUser/>
        <VisibleUserList filter={params.filter || 'All'} />
        <Footer/>
        {/*<LoadingComponent type='spin' color='blue'/>*/}
    </div>
    </MuiThemeProvider>
)

export default App